<template>
  <div class="viewuser-page">
    <div class="tab-card tab-card-w33">
      <ul>
        <li>
          <p class="card-title"><i class="icon maliiconfont maliicon-img_navigation_entre"></i><span>身份</span></p>
          <p class="p-overflow" v-if="detailData.companyType == 1 || detailData.companyType == 2" title="货主">货主</p>
          <p v-else class="p-overflow" :title="detailData.companyTypeDesc">{{detailData.companyTypeDesc}}</p>
        </li>
        <li>
          <p class="card-title"><i class="icon maliiconfont maliicon-img_navigation_organ"></i><span>公司全称</span></p>
          <p class="p-overflow" :title="detailData.companyName">{{detailData.companyName}}</p>
        </li>
        <li>
          <p class="card-title"><i class="icon maliiconfont maliicon-img_details_registra"></i><span>联系人姓名</span></p>
          <p class="p-overflow" :title="detailData.contactName">{{detailData.contactName}}</p>
        </li>
        <li>
          <p class="card-title"><i class="icon maliiconfont maliicon-img_details_registra"></i><span>联系人号码</span></p>
          <p class="p-overflow" :title="detailData.contactPhone">{{detailData.contactPhone}}</p>
        </li>
        <li >
          <p class="card-title"><i class="icon maliiconfont maliicon-img_register_cellpho"></i><span>固定电话</span></p>
          <p v-if="detailData.telephone !=='' " class="p-overflow" :title="detailData.telephone">{{detailData.telephone}}</p>
          <p v-else>未填</p>
        </li>
        <li >
          <p class="card-title"><i class="icon maliiconfont maliicon-img_details_custodia"></i><span>公司性质</span></p>
          <p v-if="detailData.companyNature !== '' " class="p-overflow" :title="detailData.companyNature">{{detailData.companyNature}}</p>
          <p v-else>未填</p>
        </li>
        <li>
          <p class="card-title"><i class="icon maliiconfont maliicon-img_details_figure"></i><span>法人姓名</span></p>
          <p v-if="detailData.legalPerson !== '' " class="p-overflow" :title="detailData.legalPerson">{{detailData.legalPerson}}</p>
          <p v-else>未填</p>
        </li>
        <li class="width66">
          <p class="card-title"><i class="icon maliiconfont maliicon-img_detailse_source"></i><span>公司地址</span></p>
          <p class="p-overflow2" :title="detailData.provinceName+'/'+detailData.provinceName+'/'+detailData.cityName+'/'+detailData.areaName+'/'+detailData.detailAddress">{{detailData.provinceName}}/{{detailData.cityName}}/{{detailData.areaName}}/{{detailData.detailAddress}}</p>
        </li>
      </ul>
    </div>
    <div class="tab-card mt10 tab-card-w50">
      <ul>
        <li>
          <p class="card-title"><i class="icon maliiconfont maliicon-img_details_license"></i><span>营业执照</span></p>
          <p>{{detailData.busLicense}}</p>
        </li>
        <li>
          <p class="card-title"><i class="icon maliiconfont maliicon-img_detailse_identit"></i><span>法人身份证号</span></p>
          <p v-if="detailData.legalIdCard !== '' ">{{detailData.legalIdCard}}</p>
          <p v-else>未填</p>
        </li>
        <li class="h150">
          <div class="imgDiv-left fl">
            <div class="img-box">
              <img class="right-img" preview preview-text="营业执照照片" preview="1" :src="detailData.busLicenseImg"  alt="">
            </div>
            <p class="text-center mt20">营业执照照片</p>
          </div>
        </li>
        <li class="h150">
          <div class="imgDiv-left fl">
            <div class="img-box">
              <img v-show="detailData.legalFaceIdImg !== '' " class="right-img" preview preview-text="身份证正面照" preview="2" :src="detailData.legalFaceIdImg"  alt="">
              <p v-show="detailData.legalFaceIdImg === '' " class="no-img">未上传图片</p>
            </div>
            <p class="text-center mt20">身份证正面照</p>
          </div>
          <div class="imgDiv-left fl">
            <div class="img-box">
              <img v-show="detailData.legalBackIdImg !== '' " preview preview-text="身份证反面照" preview="3" :src="detailData.legalBackIdImg"  alt="">
              <p v-show="detailData.legalBackIdImg === '' " class="no-img">未上传图片</p>
            </div>
            <p class="text-center mt20">身份证反面照</p>
          </div>
        </li>
      </ul>
    </div>
    <div class="audit-person">
      审核人：{{detailData.auditName}} <span>审核时间：{{detailData.auditTime}}</span>
    </div>
  </div>
</template>
<script>
  export default {
    props: ['detailData'],
    data () {
      return {

      };
    },
    methods: {}
  };
</script>
<style>
  .v-modal{
    z-index:4!important;
  }
  .audit-person{
    width:100%;
    height: 40px;
    line-height:40px;
    border:1px solid #e3e4e6;
    background: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-left:20px;
    font-size:14px;
    margin-top:20px;
  }
  .audit-person>span{
    margin-left:20px;
    font-size:14px;
  }
  .detail-form{
    background:#fff;
    border:1px solid #e3e4e5;
    margin-top:20px;
  }
  .el-radio__label {
    font-size: 14px;
    padding-left: 10px;
  }
  .detail-form .el-form-item--small .el-form-item__content, .detail-form .el-form-item--small .el-form-item__label{
    margin-bottom: -8px;
    margin-top: 10px;
    margin-left: 21px;
    font-size:14px;
  }
  .detail-form .el-radio__input.is-checked+.el-radio__label{
    font-size:14px;
  }
  .detail-form .el-form-item__label{
    margin-right:12px;
  }
  .mt10 {
    margin-top: 10px;
  }
  .viewuser-page .tab-card{
    border:1px solid #e3e4e5;
    border-bottom:none;
    border-right:none;
    border-radius: 1px;
    box-sizing:border-box;
    overflow: hidden;
  }
  .viewuser-page .tab-card ul li{
    width:20%;
    height:100px;
    box-sizing: border-box;
    float:left;
    border-right:1px solid #e3e4e5;
    border-bottom:1px solid #e3e4e5;
    padding:15px 18px;
    background: #fff;
  }
  .viewuser-page .tab-card.fee ul li{
    height:50px;
  }
  .viewuser-page .tab-card-w50 ul li{
    width:50%;
    padding:20px;
  }
  .viewuser-page .tab-card-w33 ul li{
    width:33.33%;
    padding:20px;
  }
  .viewuser-page .tab-w50{
    width:50%!important;
  }
  .viewuser-page .tab-w40{
    width:40%!important;
  }
  .viewuser-page .tab-w33 li{
    width:33.33%!important;
  }
  .viewuser-page .tab-card-w50 .img-box img{
    width:100%;
    height:100%;
  }
  .viewuser-page .tab-card-w50 .img-box{
    margin-right:20px;
    margin-left:0;
  }
  .viewuser-page .tab-card-w50 .imgDiv-left .text-center{
    color:#808080;
    width:180px;
    font-size:14px!important;
  }
  .text-center {
    text-align: center!important;
  }
  .viewuser-page .h150{
    height:200px!important;
  }
  .slider-wrap-white{
    background:#fff;
  }
  .tab-card i.icon{
    color:#ff6c2b;
    font-size:18px;
    margin-right:10px;
    vertical-align: middle;
  }
  .tab-card ul li .card-title{
    margin-bottom:10px;
  }
  .tab-card ul li .card-title span{
    color:#808080;
    vertical-align: middle;
    font-size:14px;
  }
  .fl {
    float: left;
  }
  .img-box {
    display: inline-block;
    width: 180px;
    height: 120px;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    margin-left: 20px;
  }
  .mt14 {
    margin-top: 14px!important;
  }
  .form-group {
    margin-bottom: 10px;
    line-height: 36px;
  }
  .w140 {
    width: 140px;
  }
  .ml-btn-default, .ml-btn-default:hover {
    min-width: 86px;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    margin: 0 5px;
    background-color: #1383f2;
    border-radius: 2px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    outline: none;
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 10;
  }
  .ml-btn-default-border, .ml-btn-default-border:hover {
    min-width: 86px;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    border: 1px solid #1383f2;
    border-radius: 2px;
    color: #1383f2;
    font-size: 16px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
  }
  .mt40 {
    margin-top: 40px;
  }
  p{
    line-height: 24px;
    font-size:14px;
  }
  .viewuser-page .tab-card-w33 ul li.width66{
    width:66.66%;
  }
  .viewuser-page .no-img{
    margin-left: 14px;
    margin-top: 44px;
    color: #999999;
    text-align: center;
    font-size: 16px!important;
  }
</style>
